<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>主贴页</title>

    <!--导入资源-->
    <link rel="stylesheet" href="css/main.css">
    <script src="/html/js/axios.min.js"></script>
    <script src="/html/js/util.js"></script>
    <script src="/html/js/ajax.js"></script>
    <script src="/html/js/main.js"></script>
</head>
<body>
<div id="indexDiv">
    <div id="navDiv">
        <a href="">首页</a>  |
        <a href="">登录</a>  |
        <a href="">注册</a>  |
        <a href="">退出</a>  |
        <a href="">管理</a>  |
        <a href="">风格</a>
    </div>

    <div id="inputDiv">
        主题名称: <input type="text" id="name">
        作者: <input type="text" id="author">
        起始日期: <input type="text" id="start">
        结束日期: <input type="text" id="end">
        <input type="button" value="搜索" onclick="getMain(1)">
        <a id="add">发表话题</a>
    </div>

    <div id="tableDiv">
        <table border="1" width="100%" cellspacing="0">
            <thead>
            <tr>
                <th>主题</th>
                <th>作者</th>
                <th>回帖数量</th>
                <th>发帖时间</th>
            </tr>
            </thead>
            <tbody id="mainData"></tbody>
        </table>
    </div>

    <div id="pageDiv"></div>
</div>
</body>
</html>